<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html>
  <head>
    <title>管理后台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Bootstrap -->
    <link rel="stylesheet" href="http://cdn.bootcss.com/twitter-bootstrap/3.1.1/css/bootstrap.min.css">

    <script src="http://cdn.bootcss.com/jquery/2.0.3/jquery.min.js"></script>
	<script src="http://cdn.bootcss.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
    
	<script type="text/javascript">
    
    function redirect(url) {
    	$("#mainFrame").attr("src",url);
    	$("#mainFrame").window.location.reload();
    }
    
    </script>
    
  </head>
  <body>
	<nav class="navbar navbar-inverse" role="navigation">
  <!-- Brand and toggle get grouped for better mobile display -->
  <div class="navbar-header">
    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
      <span class="sr-only">Toggle navigation</span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
    </button>
    <a class="navbar-brand" href="#" onclick="redirect('welcome')">Brand</a>
  </div>

  <!-- Collect the nav links, forms, and other content for toggling -->
  <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
    <ul class="nav navbar-nav">
      <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">系统设置<b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li><a href="#" onclick="redirect('systeminfo')">系统参数</a></li>
          <li><a href="#" onclick="redirect('system_menu')">自定义菜单</a></li>
          <li><a href="#" onclick="redirect('system_menukey')">菜单KEY</a></li>
        </ul>
      </li>
      <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">雪花妹<b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li><a href="#" onclick="redirect('snowmm_info')">mm资料</a></li>
          <li><a href="#" onclick="redirect('snowmm_rank')" >mm排名</a></li>
        </ul>
      </li>
      <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">我是摄影师<b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li><a href="#" onclick="redirect('photographer_unexamine')">待审核照片</a></li>
          <li><a href="#" onclick="redirect('photographer_examined')">已审核照片</a></li>
        </ul>
      </li>
    </ul>
  </div><!-- /.navbar-collapse -->
</nav>


<iframe id="mainFrame" name="mainFrame" src="welcome" frameborder="0" scrolling="no" width="100%" onload="this.height=mainFrame.document.body.scrollHeight"></iframe>





  </body>
</html>
